import 'package:equatable/equatable.dart';
import 'package:website.home.account/purchase_management_fragment/domain/entites/google_play_purchased_item_model.dart';
import 'package:website.home.account/purchase_management_fragment/domain/entites/one_time_purchased_item_model.dart';

class GooglePlayOneTimePurchasedItemModel extends Equatable
    implements OneTimePurchasedItemModel, GooglePlayPurchasedItemModel {
  const GooglePlayOneTimePurchasedItemModel({
    required this.purchaseItemSku,
    required this.purchaseToken,
    required this.revoked,
  });

  @override
  final String purchaseItemSku;

  final String purchaseToken;
  final bool revoked;

  @override
  List<Object?> get props {
    return [
      purchaseItemSku,
      purchaseToken,
      revoked,
    ];
  }
}
